<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login Page</title>
    <link rel="stylesheet" th:href="@{/css/common.css}">
</head>
<body>
<!--body div-->
<div id="body">
    <!--head div-->
    <div>
        <div>
            <a th:href="@{/}">首页</a>
        </div>
        <div>
            <!--            <a href="">登陆</a>-->
            <!--            <a href="">注销</a>-->
        </div>
        <h3>登陆页面</h3>
    </div>

    <!--功能div-->
    <div>
        <form th:action="@{/login}" method="post">
            <div>
                用户名：<input type="text" name="username">
            </div>
            <div>
                密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password" autocomplete="new-password">
            </div>
            <div>
                <input type="checkbox" name="remember"> 记住我<br>
                <input type="submit" value="登陆">
            </div>
            <div style="font-size: xx-small;color: brown">
                <span th:text="${msg}"></span>
            </div>
        </form>
    </div>

    <!--foot div-->
    <div>
        <span>designed by liyan</span>
    </div>
</div>
</body>
</html>